﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="ChatRoomDetails.aspx.cs"
 Inherits="Nivdal.ChatRoomDetails" Theme="SkinFile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="basic_element">
    <div class="red_title">
       <asp:Label ID="PageTitleLabel" runat="server" CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">
        <asp:Repeater ID="ChatMessagesRepeater" runat="server" DataSourceID="ChatMessagesDataSource">
            <ItemTemplate>
                <asp:Label ID="Date" runat="server" Text='<%# Eval("Date") %>' SkinID="GridLabel"></asp:Label>
                <asp:Label ID="UserNameLabel" runat="server" Text='<%# Eval("PublicName") + ":" %>' SkinID="GreenGridLabel"></asp:Label>
                <asp:Label ID="TextLabel" runat="server" Text='<%# Eval("Text") %>' SkinID="GridLabel"></asp:Label>

            </ItemTemplate>
            <SeparatorTemplate><br /></SeparatorTemplate>
        </asp:Repeater>
    </div>
    </div>
    
    <asp:SqlDataSource ID="ChatMessagesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
      SelectCommand="Nivdal_GetAllChatRoomMessages" SelectCommandType="StoredProcedure">
    </asp:SqlDataSource>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server"  CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>
